package com.zhoupeisen.entity;

import java.util.List;

/**
 * @ClassName UserEntity
 * @Description TODO
 * @Author Administrator
 * @Data 下午 03:44
 * @Version 1.0
 **/
public class UserEntity {
    private Integer id;
    private String name;
    private Integer age;

    private List<OrderEntity> orderList;

    @Override
    public String toString() {
        return "UserEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", orderList=" + orderList +
                '}';
    }

    public List<OrderEntity> getOrderList() {
        return orderList;
    }

    public void setOrderList(List<OrderEntity> orderList) {
        this.orderList = orderList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

}
